#include "GlobalMouseListener.h"
#include "../SimpleDockApplication.h"

GlobalMouseListener::GlobalMouseListener(MainComponent * mainComponent)
{
}

GlobalMouseListener::~GlobalMouseListener()
{
}

void GlobalMouseListener::mouseEnter(const MouseEvent &e)
{
	(dynamic_cast<SimpleDockApplication*>(JUCEApplication::getInstance()))->getGUIActionsManager()->mouseEnterApp(e);
}

void GlobalMouseListener::mouseExit(const MouseEvent &e)
{
	(dynamic_cast<SimpleDockApplication*>(JUCEApplication::getInstance()))->getGUIActionsManager()->mouseExitApp(e);
}

void GlobalMouseListener::mouseDown(const MouseEvent &e)
{
	
}